package com.cictec.middleware.core.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "t_bus_charter_task")
public class BusCharter implements Serializable {
	
	/** 开始时间 */
	@Transient
	private Date startTime;
	/** 截至时间 */
	@Transient
	private Date endTime;
	
	
    public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	@Id
    @Column(name = "ct_uuid")
    private String ctUuid;

    @Column(name = "ct_co_uuid")
    private String ctCoUuid;

    @Column(name = "ct_bus_uuid")
    private String ctBusUuid;

    @Column(name = "ct_bus_plate_number")
    private String ctBusPlateNumber;

    @Column(name = "ct_drv_uuid")
    private String ctDrvUuid;

    @Column(name = "ct_drv_name")
    private String ctDrvName;

    @Column(name = "ct_start_time")
    private String ctStartTime;

    @Column(name = "ct_end_time")
    private String ctEndTime;

    @Column(name = "ct_out_park")
    private String ctOutPark;

    @Column(name = "ct_out_park_uuid")
    private String ctOutParkUuid;

    @Column(name = "ct_return_park")
    private String ctReturnPark;

    @Column(name = "ct_return_park_uuid")
    private String ctReturnParkUuid;

    @Column(name = "ct_user_uuid")
    private String ctUserUuid;

    @Column(name = "ct_user_name")
    private String ctUserName;

    @Column(name = "ct_create_time")
    private Date ctCreateTime;

    @Column(name = "ct_update_time")
    private Date ctUpdateTime;

    /**
     * 1有效 0 无效
     */
    @Column(name = "ct_isvalid")
    private Short ctIsvalid;

    @Column(name = "ct_drop_flag")
    private Short ctDropFlag;

    @Column(name = "ct_remark")
    private String ctRemark;

    @Column(name = "ct_create_user_uuid")
    private String ctCreateUserUuid;

    @Column(name = "ct_create_user_name")
    private String ctCreateUserName;

    /**
     * 发车时刻
     */
    @Column(name = "ct_departure_time")
    private String ctDepartureTime;

    /**
     * 订单名称
     */
    @Column(name = "ct_co_name")
    private String ctCoName;

    /**
     * 途径站点
     */
    @Column(name = "ct_stations")
    private String ctStations;

    @Column(name = "ct_bus_type")
    private String ctBusType;

    /**
     * 日期
     */
    @Column(name = "ct_data")
    private Date ctData;

    private static final long serialVersionUID = 1L;

    /**
     * @return ct_uuid
     */
    public String getCtUuid() {
        return ctUuid;
    }

    /**
     * @param ctUuid
     */
    public void setCtUuid(String ctUuid) {
        this.ctUuid = ctUuid == null ? null : ctUuid.trim();
    }

    /**
     * @return ct_co_uuid
     */
    public String getCtCoUuid() {
        return ctCoUuid;
    }

    /**
     * @param ctCoUuid
     */
    public void setCtCoUuid(String ctCoUuid) {
        this.ctCoUuid = ctCoUuid == null ? null : ctCoUuid.trim();
    }

    /**
     * @return ct_bus_uuid
     */
    public String getCtBusUuid() {
        return ctBusUuid;
    }

    /**
     * @param ctBusUuid
     */
    public void setCtBusUuid(String ctBusUuid) {
        this.ctBusUuid = ctBusUuid == null ? null : ctBusUuid.trim();
    }

    /**
     * @return ct_bus_plate_number
     */
    public String getCtBusPlateNumber() {
        return ctBusPlateNumber;
    }

    /**
     * @param ctBusPlateNumber
     */
    public void setCtBusPlateNumber(String ctBusPlateNumber) {
        this.ctBusPlateNumber = ctBusPlateNumber == null ? null : ctBusPlateNumber.trim();
    }

    /**
     * @return ct_drv_uuid
     */
    public String getCtDrvUuid() {
        return ctDrvUuid;
    }

    /**
     * @param ctDrvUuid
     */
    public void setCtDrvUuid(String ctDrvUuid) {
        this.ctDrvUuid = ctDrvUuid == null ? null : ctDrvUuid.trim();
    }

    /**
     * @return ct_drv_name
     */
    public String getCtDrvName() {
        return ctDrvName;
    }

    /**
     * @param ctDrvName
     */
    public void setCtDrvName(String ctDrvName) {
        this.ctDrvName = ctDrvName == null ? null : ctDrvName.trim();
    }

    /**
     * @return ct_start_time
     */
    public String getCtStartTime() {
        return ctStartTime;
    }

    /**
     * @param ctStartTime
     */
    public void setCtStartTime(String ctStartTime) {
        this.ctStartTime = ctStartTime == null ? null : ctStartTime.trim();
    }

    /**
     * @return ct_end_time
     */
    public String getCtEndTime() {
        return ctEndTime;
    }

    /**
     * @param ctEndTime
     */
    public void setCtEndTime(String ctEndTime) {
        this.ctEndTime = ctEndTime == null ? null : ctEndTime.trim();
    }

    /**
     * @return ct_out_park
     */
    public String getCtOutPark() {
        return ctOutPark;
    }

    /**
     * @param ctOutPark
     */
    public void setCtOutPark(String ctOutPark) {
        this.ctOutPark = ctOutPark == null ? null : ctOutPark.trim();
    }

    /**
     * @return ct_out_park_uuid
     */
    public String getCtOutParkUuid() {
        return ctOutParkUuid;
    }

    /**
     * @param ctOutParkUuid
     */
    public void setCtOutParkUuid(String ctOutParkUuid) {
        this.ctOutParkUuid = ctOutParkUuid == null ? null : ctOutParkUuid.trim();
    }

    /**
     * @return ct_return_park
     */
    public String getCtReturnPark() {
        return ctReturnPark;
    }

    /**
     * @param ctReturnPark
     */
    public void setCtReturnPark(String ctReturnPark) {
        this.ctReturnPark = ctReturnPark == null ? null : ctReturnPark.trim();
    }

    /**
     * @return ct_return_park_uuid
     */
    public String getCtReturnParkUuid() {
        return ctReturnParkUuid;
    }

    /**
     * @param ctReturnParkUuid
     */
    public void setCtReturnParkUuid(String ctReturnParkUuid) {
        this.ctReturnParkUuid = ctReturnParkUuid == null ? null : ctReturnParkUuid.trim();
    }

    /**
     * @return ct_user_uuid
     */
    public String getCtUserUuid() {
        return ctUserUuid;
    }

    /**
     * @param ctUserUuid
     */
    public void setCtUserUuid(String ctUserUuid) {
        this.ctUserUuid = ctUserUuid == null ? null : ctUserUuid.trim();
    }

    /**
     * @return ct_user_name
     */
    public String getCtUserName() {
        return ctUserName;
    }

    /**
     * @param ctUserName
     */
    public void setCtUserName(String ctUserName) {
        this.ctUserName = ctUserName == null ? null : ctUserName.trim();
    }

    /**
     * @return ct_create_time
     */
    public Date getCtCreateTime() {
        return ctCreateTime;
    }

    /**
     * @param ctCreateTime
     */
    public void setCtCreateTime(Date ctCreateTime) {
        this.ctCreateTime = ctCreateTime;
    }

    /**
     * @return ct_update_time
     */
    public Date getCtUpdateTime() {
        return ctUpdateTime;
    }

    /**
     * @param ctUpdateTime
     */
    public void setCtUpdateTime(Date ctUpdateTime) {
        this.ctUpdateTime = ctUpdateTime;
    }

    /**
     * 获取1有效 0 无效
     *
     * @return ct_isvalid - 1有效 0 无效
     */
    public Short getCtIsvalid() {
        return ctIsvalid;
    }

    /**
     * 设置1有效 0 无效
     *
     * @param ctIsvalid 1有效 0 无效
     */
    public void setCtIsvalid(Short ctIsvalid) {
        this.ctIsvalid = ctIsvalid;
    }

    /**
     * @return ct_drop_flag
     */
    public Short getCtDropFlag() {
        return ctDropFlag;
    }

    /**
     * @param ctDropFlag
     */
    public void setCtDropFlag(Short ctDropFlag) {
        this.ctDropFlag = ctDropFlag;
    }

    /**
     * @return ct_remark
     */
    public String getCtRemark() {
        return ctRemark;
    }

    /**
     * @param ctRemark
     */
    public void setCtRemark(String ctRemark) {
        this.ctRemark = ctRemark == null ? null : ctRemark.trim();
    }

    /**
     * @return ct_create_user_uuid
     */
    public String getCtCreateUserUuid() {
        return ctCreateUserUuid;
    }

    /**
     * @param ctCreateUserUuid
     */
    public void setCtCreateUserUuid(String ctCreateUserUuid) {
        this.ctCreateUserUuid = ctCreateUserUuid == null ? null : ctCreateUserUuid.trim();
    }

    /**
     * @return ct_create_user_name
     */
    public String getCtCreateUserName() {
        return ctCreateUserName;
    }

    /**
     * @param ctCreateUserName
     */
    public void setCtCreateUserName(String ctCreateUserName) {
        this.ctCreateUserName = ctCreateUserName == null ? null : ctCreateUserName.trim();
    }

    /**
     * 获取发车时刻
     *
     * @return ct_departure_time - 发车时刻
     */
    public String getCtDepartureTime() {
        return ctDepartureTime;
    }

    /**
     * 设置发车时刻
     *
     * @param ctDepartureTime 发车时刻
     */
    public void setCtDepartureTime(String ctDepartureTime) {
        this.ctDepartureTime = ctDepartureTime == null ? null : ctDepartureTime.trim();
    }

    /**
     * 获取订单名称
     *
     * @return ct_co_name - 订单名称
     */
    public String getCtCoName() {
        return ctCoName;
    }

    /**
     * 设置订单名称
     *
     * @param ctCoName 订单名称
     */
    public void setCtCoName(String ctCoName) {
        this.ctCoName = ctCoName == null ? null : ctCoName.trim();
    }

    /**
     * 获取途径站点
     *
     * @return ct_stations - 途径站点
     */
    public String getCtStations() {
        return ctStations;
    }

    /**
     * 设置途径站点
     *
     * @param ctStations 途径站点
     */
    public void setCtStations(String ctStations) {
        this.ctStations = ctStations == null ? null : ctStations.trim();
    }

    /**
     * @return ct_bus_type
     */
    public String getCtBusType() {
        return ctBusType;
    }

    /**
     * @param ctBusType
     */
    public void setCtBusType(String ctBusType) {
        this.ctBusType = ctBusType == null ? null : ctBusType.trim();
    }

    /**
     * 获取日期
     *
     * @return ct_data - 日期
     */
    public Date getCtData() {
        return ctData;
    }

    /**
     * 设置日期
     *
     * @param ctData 日期
     */
    public void setCtData(Date ctData) {
        this.ctData = ctData;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", ctUuid=").append(ctUuid);
        sb.append(", ctCoUuid=").append(ctCoUuid);
        sb.append(", ctBusUuid=").append(ctBusUuid);
        sb.append(", ctBusPlateNumber=").append(ctBusPlateNumber);
        sb.append(", ctDrvUuid=").append(ctDrvUuid);
        sb.append(", ctDrvName=").append(ctDrvName);
        sb.append(", ctStartTime=").append(ctStartTime);
        sb.append(", ctEndTime=").append(ctEndTime);
        sb.append(", ctOutPark=").append(ctOutPark);
        sb.append(", ctOutParkUuid=").append(ctOutParkUuid);
        sb.append(", ctReturnPark=").append(ctReturnPark);
        sb.append(", ctReturnParkUuid=").append(ctReturnParkUuid);
        sb.append(", ctUserUuid=").append(ctUserUuid);
        sb.append(", ctUserName=").append(ctUserName);
        sb.append(", ctCreateTime=").append(ctCreateTime);
        sb.append(", ctUpdateTime=").append(ctUpdateTime);
        sb.append(", ctIsvalid=").append(ctIsvalid);
        sb.append(", ctDropFlag=").append(ctDropFlag);
        sb.append(", ctRemark=").append(ctRemark);
        sb.append(", ctCreateUserUuid=").append(ctCreateUserUuid);
        sb.append(", ctCreateUserName=").append(ctCreateUserName);
        sb.append(", ctDepartureTime=").append(ctDepartureTime);
        sb.append(", ctCoName=").append(ctCoName);
        sb.append(", ctStations=").append(ctStations);
        sb.append(", ctBusType=").append(ctBusType);
        sb.append(", ctData=").append(ctData);
        sb.append("]");
        return sb.toString();
    }
}